﻿using System.Data;

namespace Titan.WinFormSys.Entity
{
    /// <summary>
    /// 登录Json对象
    /// </summary>
    public class LoginRequesEntity
    {
        /// <summary>
        /// 请求的Json对象
        /// </summary>
        public class LoginRequestJson
        {
            /// <summary>
            /// 用户名
            /// </summary>
            public string UserName;
            /// <summary>
            /// 密码
            /// </summary>
            public string UserPwd;
            /// <summary>
            /// IP地址
            /// </summary>
            public string Ip;
            /// <summary>
            /// Mac地址
            /// </summary>
            public string Mac;
            /// <summary>
            /// 执行的SQL命令
            /// </summary>
            public string Sql;
        }

        /// <summary>
        /// 返回的Json对象
        /// </summary>
        public class LoginResponseJson
        {
            /// <summary>
            /// 权限数据集
            /// </summary>
            public DataSet PurvDataSet;
        }
    }
}
